|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.08.15 15:02:00 -
[1]
It looks great. I had some problems getting the database to install.
Here is the error output i received.
Quote:
SQL query:
CREATE TABLE `pos_info` ( `pos_id` int( 11 ) NOT NULL AUTO_INCREMENT , `corp` varchar( 255 ) NOT NULL , `pos_size` tinyint( 4 ) NOT NULL , `pos_race` tinyint( 4 ) NOT NULL , `isotope` int( 11 ) NOT NULL default '0', `oxygen` int( 11 ) NOT NULL default '0', `mechanical_parts` int( 11 ) NOT NULL default '0', `coolant` int( 11 ) NOT NULL default '0', `robotics` int( 11 ) NOT NULL default '0', `uranium` int( 11 ) NOT NULL default '0', `ozone` int( 11 ) NOT NULL default '0', `heavy_water` int( 11 ) NOT NULL default '0', `strontium` int( 11 ) NOT NULL default '0', `system` varchar( 255 ) NOT NULL , `sovereignty` tinyint( 1 ) NOT NULL default '0', `status` varchar( 255 ) NOT NULL default '0', `owner_id` int( 11 ) default NULL , `pos_status` tinyint( 10 ) NOT NULL default '1', PRIMARY KEY ( `pos_id` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1;
MySQL said: Documentation #1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 21
We removed the last line "ENGINE = MYISAM DEFAULT CHARSET = latin1;" and it worked fine. This was running MySQL 4.0.27.
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.09.03 16:10:00 -
[2]
When I try to run the install script, nothing happens even though it says tables created successfully.
When i install sql manually through phpmyadmin i get the following error Quote: Error
SQL query:
CREATE TABLE IF NOT EXISTS `npc_hanger` ( `corp` varchar( 255 ) NOT NULL , `system` varchar( 255 ) NOT NULL , `isotope` int( 10 ) unsigned NOT NULL , `oxygen` int( 10 ) unsigned NOT NULL , `mechanical_parts` int( 10 ) unsigned NOT NULL , `coolant` int( 10 ) unsigned NOT NULL , `robotics` int( 10 ) unsigned NOT NULL , `uranium` int( 10 ) unsigned NOT NULL , `ozone` int( 10 ) unsigned NOT NULL , `heavy_water` int( 10 ) unsigned NOT NULL , `strontium` int( 10 ) unsigned NOT NULL , `charters` int( 10 ) unsigned NOT NULL , PRIMARY KEY ( `corp` , `system` ) )
MySQL said: Documentation #1071 - Specified key was too long. Max key length is 500
I changed the corp and system length to 250 and it works fine.
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.09.03 16:34:00 -
[3]
Edited by: Johnathan Roark on 03/09/2006 16:34:20 double post
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.09.04 03:04:00 -
[4]
Server stats: PHP5 (more info) 5.1.6 - MySQL 4.0.27 -
the redirect errors are occuring on anything that uses either user-transaction.php and pos-transaction.php. Maybe something wrong with redirect.php?
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.09.04 06:04:00 -
[5]
Edited by: Johnathan Roark on 04/09/2006 06:14:34
Originally by: franny
Originally by: Johnathan Roark Server stats: PHP5 (more info) 5.1.6 - MySQL 4.0.27 -
the redirect errors are occuring on anything that uses either user-transaction.php and pos-transaction.php. Maybe something wrong with redirect.php?
you have the pos tracker files in a sub directory /postracker ? the new(current) redirect file gave me errors when I had it in a base lvl directory to clearify, I had my POStracker files in 'http://hostname/' it gave errors with the current redirect, I moved it to /postracker and it works fine
you could always try the old redirect file the old redirect file looked like
Originally by: old redirect <?php function redirect($url) { if (!headers_sent()) { header('Location: http://hostname/postrackerpath/' . $url); } else { die('Could not redirect; Headers already sent.'); } } ?>
That fixed my problem. Im guessing its something to do with the fact that I am using hosting services that has virtual host to conserve IPs.
On the division by 0, now that i got the redirects working currently, it looks like im getting 0 units on everything as the required level?
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.09.04 06:53:00 -
[6]
Ok, did some testing, I am only getting the division by 0 errors when I have sov checked.
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.09.05 07:25:00 -
[7]
Anyway to make the station hangers independent of POS? We fuel several POS out of the same station.
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.09.05 20:30:00 -
[8]
Edited by: Johnathan Roark on 05/09/2006 20:32:42
Originally by: Utoxin 1.0 Progress Chart
Installer - Done Corp Hangar Array Fuel Storage - Done NPC Hangar Fuel Storage - Done Online/Offline Status for Structures - Done Refuel From Hangars - Planning
Dropping the planned project features? Also, on the NPC hanger Fuel Storage, any way to make those independent of the towers? We fuel a group of towers from each station. Also, NPC hangar is confuessing for some of my members since operate out of outpost, but they'll live with that for now, I may change that myself.
BTW, Rev 77 is the first install script to work without me modifying the sql :)
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.09.05 23:15:00 -
[9]
Fuel usage on heavy water and liquid ozone doesn't seam to take into account if the structure is online or offline.
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.09.06 03:19:00 -
[10]
Originally by: Utoxin Hmmm. I'll test some more, but my initial tests seemed fine in that regard.
I had problems with the intisive refining array messing up the CPU.
Corporation Management Improvement |
|

Johnathan Roark
Caldari Quantum Industries Prime Orbital Systems
|
Posted - 2006.12.15 03:42:00 -
[11]
Originally by: Space Hog I was wondering if someone can help me here. I downloaded it, installed it. and when I register with it its not adding a line to the database. And when i login I get a blank page.
Check your sql and redirect configs.
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2007.07.24 17:34:00 -
[12]
Edited by: Johnathan Roark on 24/07/2007 17:36:24
Originally by: Salia Deluri ^^np, it was a good learning experience for me:)
So OK a few things. First the problem child. How do I fix the system showing 0d 0h left if you are not using CPU even though you have a lot of heavy water?
Yea, its a bug. There is when one of the functions, cant remember withc one, i think uptimecalc, it returns a 0. I haven't fixed this yet, but its on my todo list of things fix/add. for the version MrRx7 and I are working on. I'm actually suprized anyone actually noticed this, how often do you have a tower that does not use heavy water and liquid ozone.
Originally by: Salia Deluri
Second I was looking at adding some fields. Group owner, fuel technician group and planet/moon. The reason being is I want to create some views that are grouped by what group owns then and what group is responsible for fueling them.
That is a major change your talking about there. You'll need to add fields to both the pos_info table and user table plus add/change code in just about every page.
Originally by: CaldFighter any update on this?
mainly looking for the faction towers but silo support would be great too. (/me wishes he could program) 
Give us a few weeks and at the very least you'll have the faction towers.
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2007.08.15 19:42:00 -
[13]
Introducing POS-Tracker 2
MrRx7 and I have been working on this for a bit now. It still needs some work, but we thought we would post some details and screenshots to show what we have been working on. The code still has a few bugs we want to work out as well as a few more additions we would like to get in. There is no way this will be backward compatible. There are too many database changes as well as required info that was not in previous versions. We may look up writing an export script for old pos trackers and a import script for the new version.
New Features:
Faction towers and Mods. All of the new towers and mods are supported that where released with Revelations 2
Auto-Sovereignty Using the EVE-API XML export, this feature automatically sets the sovereignty status of each system and adjusts fuel levels accordingly.
Outpost Tracker The outpost tracker tracks fuel in a office based on POS assigned to it.
Silo Tracker This allows you to track moon material and/or reaction material going into or out of a silo
There are other miner improvements. I will come up with a more complete list when we release the code.
Screenshots: Main Tracking Page View POS Edit POS 1 Edit POS 2 View Outpost Edit Outpost Fuel Calculator User Pannel
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2007.08.15 19:48:00 -
[14]
Edited by: Johnathan Roark on 15/08/2007 19:50:18 I was looking at changing the access system as well and did make one miner change. I made it so the owner of a POS could edit his or her POS.
I was looking at doing onwer, corp, alliance, and global with view, edit, mod/delete, admin for each level, but it was going to be way too complex and I decided it was not really necessary as POS can only be changed by the owner corp in eve.
As far as when this will release? When we got what we want in and have most of the bugs that we can find fixed. I'm hoping this is real soon.
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2007.08.25 05:13:00 -
[15]
Originally by: Salia Deluri So now the fun will begin. Need to implement the new hold capacities on the towers.
Shouldn't be too much of a problem. The only place that would actually matter is when calculating the optimal fuel.
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2007.09.05 14:11:00 -
[16]
Originally by: Gilgamoth
Originally by: MrRx7 We used the original structor as much as we could, however we have expanded beyond the start of 11 tables to over 22 to take in effect all the new stuff.
Please say that they all start with a prefix such as "pos_"? It took me quite a while to graft the current SF code so that it doesn't clash with my current tables and it makes patching and updates a biatch. 
Regards,
Gil
I was considering adding a variable to the front of all the tables so you could make all the calls easy. Now installing you would have to make the table name changes by hand unless someone had a better idea for this.
Also was considering allowing custom extensions for those that are using something other then the standard .php
Corporation Management Improvement |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2007.09.19 05:25:00 -
[17]
Originally by: Salia Deluri ^^ Call me crazy but I have an aversion to putting all my moon data in someone else's DB. Please don't take offense to that just very paranoid as it is.
We don't expect you to use real towers on that site. Its for testing purposes only. currently, there is no grantee that we wont reload a fresh install tomorrow or any other day until we go live. At that point, you will be able to host it yourself or have someone else host it for you.
Corporation Management Improvement |
|
|
|